<?php
$a = array('green', 'red', 'yellow');
$b = array(1);
$c = array_combine($a, $b);

print_r($c);